<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
  <head>
     <link href="css/ui.dialog.css" rel="stylesheet" type="text/css"/>
     <script src="js/jquery.js" type="text/javascript"></script>
     <script src="js/ui.core.js" type="text/javascript"></script>
     <script src="js/ui.dialog.js" type="text/javascript"></script>
    </head>
    
    <script>
            function doOpenDialog(){
                     $('<div id="demo3"><iframe id="teste" src="http://servidor:8100/sistema_desenv/teste/dialog/pag1.php" border="0" style="height:98%;width:98%;" align="center" scrolling="auto"></iframe>').load().dialog({
                        title: 'Nenonho',
                        width: 550,
                        height: 550,
								modal: true,
								maximize: false,
								draggable: false,
                        overlay:{background:'#000000', opacity:0.5},
                  		autoOpen: true,
								autoResize: true,
								bgiframe: true,
								closeOnEscape: true,
								minHeight: 100,
								minWidth: 150,
								position: 'center',
								closable: true, 
								maximize:true,
								resizable: false,
								stack: true,
								zIndex: 1000

                    });
                }
        </script>
    <body>
   
        <span>
            <a href="#" onclick="doOpenDialog();">Demo 3</a>
        </span>
	
    </body>
</html>